export default{
    state:{
        //控制菜单栏的状态
        isCollapse:false,
        id:null
    },
    mutations:{
        collapseChange(state){
            state.isCollapse = !state.isCollapse;
        },
        setid(state,id){
            state.id = id;
        }
    }
}